package com.fauks.ssm.mybatis.bean;

public class MStudent {
    private Integer id;
    private String name;
    private int age;
    private double score;
    private String description;
    private String address;

    public MStudent() {
    }

    public MStudent(Integer id) {
        this.id = id;
    }

    public MStudent(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public MStudent(String name, int age, double score) {
        this.name = name;
        this.age = age;
        this.score = score;
    }

    public MStudent(String name, int age, double score, String description) {
        this.name = name;
        this.age = age;
        this.score = score;
        this.description = description;
    }

    public MStudent(String name, int age, double score, String description, String address) {
        this.name = name;
        this.age = age;
        this.score = score;
        this.description = description;
        this.address = address;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public String getDesc() {
        return description;
    }

    public void setDesc(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "MStudent{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", score=" + score +
                ", description=" + description +
                ", address=" + address +
                '}';
    }


}
